package com.frank.dao;

import com.frank.model.Resume;
import com.frank.model.ResumeCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ResumeMapper {
    long countByExample(ResumeCriteria example);

    int deleteByExample(ResumeCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(Resume record);

    int insertSelective(Resume record);

    List<Resume> selectByExampleWithRowbounds(ResumeCriteria example, RowBounds rowBounds);

    List<Resume> selectByExample(ResumeCriteria example);

    Resume selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Resume record, @Param("example") ResumeCriteria example);

    int updateByExample(@Param("record") Resume record, @Param("example") ResumeCriteria example);

    int updateByPrimaryKeySelective(Resume record);

    int updateByPrimaryKey(Resume record);


    List<Resume> selectByInterviewId(Integer interviewId);

    List<Resume> selectByRecruitType(String recruitType);
}